Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS-59: Create rule S7059 (no-async-constructor): Constructors should not contain asynchronous operations #4798

Merged
merged 10 commits into from
Sep 9, 2024

Conversation

vdiez
Copy link
Contributor

@vdiez vdiez commented Sep 3, 2024

@vdiez vdiez requested a review from a team September 4, 2024 15:32
vdiez and others added 2 commits September 6, 2024 15:12
Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>
Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>
Copy link
Contributor

@ilia-kebets-sonarsource ilia-kebets-sonarsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed, simply change the flag to ExpressionStatement

add explanation
increase coverage
Copy link
Contributor

@ilia-kebets-sonarsource ilia-kebets-sonarsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice job!

@vdiez vdiez merged commit 52f8fc7 into master Sep 9, 2024
15 of 16 checks passed
@vdiez vdiez deleted the add-S7059 branch September 9, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants